package com.nosnow.gmall.bean;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @类名称：SkuSaleAttrValue
 * @类描述：sku销售属性值
 * @author: bingHeng
 * @Date
 * @Version: 1.0
 */
@Data
public class SkuSaleAttrValue implements Serializable {

    /**主键Id*/
    @Id
    @Column
    private Long id;

    /**库存单元id*/
    @Column
    private Long skuId;

    /**销售属性id（冗余)*/
    @Column
    private Long saleAttrId;

    /**销售属性值id*/
    @Column
    private Long saleAttrValueId;

    /**销售属性名称(冗余)*/
    @Column
    private String saleAttrName;

    /**销售属性值名称(冗余)*/
    @Column
    private String saleAttrValueName;
}
